function Video(id,src,width,height,vars,allowScriptAccess,wmode){
	this.id=id||"Video";
	this.src=src;
	this.width=width;
	this.height=height;
	this.vars=vars;
	this.wmode=wmode||"transparent";
	this.allowScriptAccess=allowScriptAccess||"always";
}

Video.prototype={
	toString:function(){return "Video " + this.id;},
	__object:"<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" width=\"{width}\" height=\"{height}\" id=\"{id}\"><param name=\"allowScriptAccess\" value=\"{allowScriptAccess}\" /><param name=\"movie\" value=\"{src}?{vars:Q}\" /><param name=\"wmode\" value=\"{wmode}\" /><param name=\"quality\" value=\"high\" /><embed src=\"{src}?{vars:Q}\" quality=\"high\" width=\"{width}\" height=\"{height}\" wmode=\"{wmode}\" name=\"{id}\" allowScriptAccess=\"{allowScriptAccess}\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" /></object>",
	render:function(container){
		var c = container || document.body;
		var s = this.__object.format(this);
		c.innerHTML = s;
	}
}